Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 25, 2025

  • Understand the Startup.Mix.cs functionality from dotnet-app repository
  • Initialize npm package with proper structure
  • Create main CLI entry point (bin/add-in.js)
  • Implement core functionality:
    • Parse command-line arguments
    • Fetch and parse gist links registry
    • List available gists
    • Search/filter gists by tags
    • Download and apply gist files
    • Support for MyApp/project name replacement
    • Support delete mode to remove mixed files
    • Handle base64 encoded binary files
    • Support JSON patching
    • Support custom replace tokens
    • Support various command-line options (verbose, force, preserve, etc.)
  • Add package.json with proper bin configuration
  • Add tests for parseGistLinks and edge cases
  • Update README with documentation
  • Address code review feedback:
    • Replace deprecated fs.rmdirSync with fs.rmSync
    • Replace shell execution with spawn for better security
    • Add constants for magic numbers (gist ID lengths)
    • Fix exit code handling
  • Run CodeQL security check
Original prompt

Create a npx add-in node package that replicates the functionality in:
https://github.com/ServiceStack/dotnet-app/blob/master/src/Web/Startup.Mix.cs


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits November 25, 2025 03:15
Co-authored-by: mythz <89361+mythz@users.noreply.github.com>
Co-authored-by: mythz <89361+mythz@users.noreply.github.com>
@mythz mythz marked this pull request as ready for review November 25, 2025 03:19
@mythz mythz merged commit 0e751bb into main Nov 25, 2025
Copilot AI requested a review from mythz November 25, 2025 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants